<p>Test that properties in a detached subframe become unavailable immediately.</p>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

onload = function()
{
    var childWindow = frames[0];
    document.body.removeChild(document.getElementsByTagName("iframe")[0]);
    document.getElementById("result").innerHTML = childWindow.XMLHttpRequest ? "FAIL" : "PASS";
}
</script>
<div id="result">FAIL: Script did not run</div>
<iframe src="about:blank"></iframe>
